package com.stadium.servlet;

import java.util.List;

import org.springframework.data.domain.Page;

import com.stadium.bean.Equipment;

public interface EquipmentServlet {

	
	List<Equipment> getAll();
	
	Equipment getById(Integer id);
	
	Equipment getByName(String name);
	
	Page<Equipment> getPages(int pageNum,int pageSize);
	
	void save(Equipment equipment);
	
	void delete(Integer id);
}
